package com.group3.service;

import com.github.pagehelper.PageInfo;
import com.group3.controller.Validated.Add;
import com.group3.controller.Validated.Select;
import com.group3.domain.Leave;
import com.group3.domain.StudentInfo;
import com.group3.pojo.receive.KlassReceive;
import com.group3.pojo.receive.StudentReceive;
import com.group3.pojo.result.KlassResult;
import com.group3.utils.Result;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

public interface AClassService {

    public Result addClass(@Valid @RequestBody KlassReceive klassReceive);

    public Result selectClass(KlassReceive klassReceive);

    public Result updateClass(KlassReceive klassReceive);

    public Result selectStudentByClass(StudentReceive studentReceive);

    public Result addStudentByClass(StudentReceive studentReceive);

    public Result deletStudent(List<String> studentIds);

}
